package com.base.feign;

import com.base.fallback.SysyemClientFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ClassName: SysyemClient
 * @Description: 远程调用springcloud-system系统管理模块
 * @Author: CJQ
 * @Date: 2021/2/2 10:18
 */
@FeignClient(name = "BASE-SYSTEM", fallback = SysyemClientFallback.class)
public interface SysyemClient {

    @GetMapping("/login/hello")
    String hello(@RequestParam(value = "account") String account);
}
